<!DOCTYPE html>
<html>
<head>
  <title>找回密码 3dp</title>
  <link rel="canonical" href="/forgot_login">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" type="text/css" href="/rrstatic/stylesheets/screen.css?tag=<?php echo $tag?>"/>
  <link rel="stylesheet" type="text/css" href="/rrstatic/styles/jquery/jquery-ui-1.8.18.custom.css?tag=<?php echo $tag?>">
  <link rel="stylesheet" type="text/css" href="/rrstatic/styles/jquery/jquery.selectbox.css?tag=<?php echo $tag?>">
	
  <script type="text/javascript" src="/rrstatic/javascript/javascripts.min.js?tag=<?php echo $tag?>"></script>
  <script type="text/javascript" src="/rrstatic/javascript/jquery.validate.js?tag=<?php echo $tag?>"></script>
  <script type="text/javascript" src="/rrstatic/javascript/shared.jquery.js?tag=<?php echo $tag?>"></script>
  <script type="text/javascript" src="/rrstatic/javascript/portal/3dpApp.jquery.js?tag=<?php echo $tag?>"></script>
</head>
<body class="sct-login ">
<div class="">
	<div class="scheduled-content scheduled-content-top"></div>
	<?php include APPPATH . 'views/head.php';?>
	<!-- end top.tpl -->
	<?php 
		if($is_login){
	?>
	<div class=" clearfix ">
		<div class="container">
		  <div class="vertical-space prepend-3 span-6 append-3 last">
		    <h1>Got it!</h1>
		    <p>An e-mail with your username and a link to reset your password is on it's way.
		    </p><p>If you don't receive it in a few minutes you can <a href="<?php echo $ser?>/forgot_login">try again</a>.</p>
		  </div>
		</div>
    </div>
	<?php
		}else{
	?>
	<div class=" clearfix ">
		<div class="container">
		  <div class="vertical-space prepend-3 span-6 append-3 last">
		    <h1>找回登录</h1>
		    <p>请输入您的电子邮件地址下面。我们将给你发送电子邮件与您的用户名和一个链接来重置你的密码。</p>
		    <form action="<?php echo $ser?>/user" method="post" id="login" class="forgot-login-form" _lpchecked="1">
		        <input type="hidden" name="method" value="forgot_login"/>
			    <input type="hidden" name="targetUrl" value="" tabindex="0">
			    <input type="text" id="email" name="email" value="" placeholder="你的邮件地址..." tabindex="1">
			    <input type="submit" class="secondary-button-inset" value="提交" tabindex="2" id="forgot_submit_button">
			    <?php
			      if($error_email){
			    ?>
			      <div class="error-bubble sticky arrow visible">
			        <label for="email">
			          <span id="error_email"><?php echo $error_email?>未找到，请试试其他邮件地址或者 <a href="<?php echo $ser?>/register">注册</a></span>
			        </label>
			      </div>
			    <?php
			    }else{
			    ?>
		          <div class="">
			        <label for="email">
			          <span id="error_email"></span>
			        </label>
			      </div>
			    <?php	
			    }
			    ?>
		    </form>
		  </div>
		</div>
	</div>
	<?php
		}
	?>
    <!-- begin bottom.tpl -->
	<?php include APPPATH . 'views/footer.php';?>
	<?php include APPPATH . 'views/footer_legal.php';?>
</div>
</body>
</html>